Java Working Environments and Shared Project setup

The following is an abbreviated summary of Working Environment and Project setup. We assume a homogenous directory structure as described above. The hands-on tutorial example describes the procedure using the Project Setup Wizard in detail. For an overview of general project setup procedures, please refer to the User's Guide.
Working Environments set up

- For Shared Java Projects, always set up Private Working Environments (PWEs) that directly access the Repository.
This is because equivalent packages that are entered separately in the class path (as is the case in layered Working Environments) are not explicitly examined by the JDK tools for each file. The first entry that is matched is cached and reused by the compiler and interpreter. This may lead to inconsistent results if Working Environments are layered.
- If you already have SNiFF+ Java Projects in layered Working Environments (with an SSWE and SOWE), please continue with Moving existing Working Environments.

SNiFF+ Java Projects from scratch

- Set up the Shared Project for your root directory in one PWE (see above) and allow SNiFF+ to generate all subprojects. Then, create Browsing-Only Projects for the JDK Sources and any other libraries where source code is available. Add these as subprojects of any Shared Project in the first PWE. See also Adding source code library projects.
- Make sure you have set all Project Attributes you want/need, either during or after project setup. See also Java Project-Level Settings.
- Copy the Project Description File (PDF) of the Root Project in the first PWE to the Working Environment root directory of each additional PWE. Then, open the root projects in each PWE.

Moving existing Working Environments

- If you already have SNiFF+ Java Projects in layered Working Environments (with an SSWE and SOWE), move your PWEs so that they directly accesses the Repository (in the Working Environments tool, drag-and-drop them onto the Repository).
- Check out all files to each moved PWE, the SSWE and SOWE will be ignored.